<?php get_header(); ?>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <?php if ( have_posts() ) : ?>
                    <h1 class="title"><?php printf( __( 'Search for: %s', THB_THEME_NAME ), get_search_query() ); ?></h1>
                    <ul class="search-list">
                        <?php while ( have_posts() ) : the_post();?>
                            <li>
                                <h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
                                <?php the_excerpt();?>
                            </li>
                        <?php endwhile;?>
                    </ul>        
                <?php else :?>
                    <h1 class="title"><?php _e("Not found, please come back to ", THB_THEME_NAME);?><a href="<?php echo home_url('/');?>"><?php _e("home page", THB_THEME_NAME);?></a></h1>
        		<?php endif; ?>
            </div>
        </div>
    </div>
<?php get_footer(); ?>